package cn.zzp.order.enums;

/**
 * @ClassName OrderEnum
 * @Description
 * @Author 祝志鹏
 * @Date 2022/8/11 14:39
 */
public enum OrderEnum {

    CANCEL(-1 , "取消订单"),
    TO_BE_PROCESSED(0, "订单待处理"),
    CONFIRM(1, "确认订单");

    private Integer state;
    private String des;

    OrderEnum(Integer state, String des) {
        this.state = state;
        this.des = des;
    }

    public Integer getState() {
        return state;
    }

    public String getDes() {
        return des;
    }
}
